package com.prs.crm.domain.purchase;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.prs.crm.domain.BaseEntity;
import com.prs.crm.domain.stock.Product;

/**
 * 退货出库明细
 * 
 * @author 兰小刚
 * @version 创建时间：2010-7-22 上午09:33:28 类说明
 */
@Entity
@Table(name = "purchase_PurchaseReturnedStoreOutDetail")
public class PurchaseReturnedStoreOutDetail extends BaseEntity {
	private static final long serialVersionUID = -4867503240956693033L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;

	@ManyToOne
	private PurchaseReturnedStoreOut purchaseReturnedStoreOut;

	@ManyToOne
	private Product product;

	private String prName;
	
	private int outNum;
	private String detailAlls;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public PurchaseReturnedStoreOut getPurchaseReturnedStoreOut() {
		return purchaseReturnedStoreOut;
	}

	public void setPurchaseReturnedStoreOut(
			PurchaseReturnedStoreOut purchaseReturnedStoreOut) {
		this.purchaseReturnedStoreOut = purchaseReturnedStoreOut;
	}

	public Product getProduct() {
		return product;
	}

	public void setProduct(Product product) {
		this.product = product;
	}

	public String getPrName() {
		return prName;
	}

	public void setPrName(String prName) {
		this.prName = prName;
	}

	public int getOutNum() {
		return outNum;
	}

	public void setOutNum(int outNum) {
		this.outNum = outNum;
	}

	public String getDetailAlls() {
		return detailAlls;
	}

	public void setDetailAlls(String detailAlls) {
		this.detailAlls = detailAlls;
	}

}
